package com.etoak.service.impl;

import com.etoak.entity.DesignGuide;
import com.etoak.mapper.DesignGuideMapper;
import com.etoak.service.IDesignGuideService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zhixuebin
 * @Date 2022/5/18
 */
@Service
public class DesignGuideServiceImpl implements IDesignGuideService {

    @Autowired
    DesignGuideMapper designGuideMapper;

    @Override
    public int add(DesignGuide designGuide) {
        return designGuideMapper.add(designGuide);
    }

    @Override
    public List<DesignGuide> getList(DesignGuide designGuide) {
        return designGuideMapper.getList(designGuide);
    }

    @Override
    public DesignGuide getById(String id) {
        return designGuideMapper.getById(id);
    }
}
